/*
 *  drivergate.h - the header file with the ioctl definitions.
 *
 */

#ifndef DRIVERGATE_H
#define DRIVERGATE_H

#include <linux/ioctl.h>

#define MAJOR_NUM 100


/* 
 * The name of the device file 
 */
#define DEVICE_FILE_NAME "/dev/gate"

/*
 * Custom case values for the ioctl function.
 */
#define GATE_OPEN 999
#define GATE_CLOSE 1000
#define GATE_STATUS 1001


#define SUCCESS 0
#define DEVICE_NAME "gate"

#endif


